﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Economo.Services.EntitiesConversion;
using System.Runtime.Serialization;


namespace Economo.Services.BusinessEntities
{
    
    public class Bank 
    {
        private byte _id;
        private string _description;
        private byte[] _picture;
    
        [MappingSettingsAttribute(true,"Id", MappingSettingsAttribute.MappingType.Simple)]
        public byte Id 
        { 
            get
            {                
                return _id;
            }
            set
            {
                _id = value;
            }
        }

        [MappingSettingsAttribute(true, "Description", MappingSettingsAttribute.MappingType.Simple)]
        public string Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
            }
        }
        [MappingSettingsAttribute(false, "Picture", MappingSettingsAttribute.MappingType.Simple)]
        public byte[] Picture
        {
            get
            {
                return _picture;
            }
            set
            {
                _picture = value;
            }

        }


        

    }

}
